decimal

pure constructor(value: text)

Creates a decimal from a text representation.

Since

0.9.1

Parameters

value

The text representation of the number.


pure constructor(value: integer)

Creates a decimal from an integer.

Since

0.9.1

Parameters

value

The integer value to convert.


pure constructor(value: big_integer)

Creates a decimal from a big_integer.

Since

0.12.0

Parameters

value

The big_integer value to convert.